package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.JxStudentProgress;

public interface IJxStudentProgressService {
    JxStudentProgress selectById(Long id);
    List<JxStudentProgress> selectList(JxStudentProgress query);
    int insert(JxStudentProgress entity);
    int update(JxStudentProgress entity);
    int deleteByIds(Long[] ids);
    int addHours(Long progressId, int delta);
    
    /**
     * 更新学员科目学习进度状态
     * 
     * @param studentId 学员ID
     * @param subjectId 科目ID
     * @param status 新状态
     * @return 结果
     */
    int updateProgressStatus(Long studentId, Long subjectId, String status);
}


